package com.lanhai.mind.interfaces;

import com.lanhai.mind.beans.AgvBean;
import com.lanhai.mind.beans.AgvDataBean;
import com.lanhai.mind.dao.AgvDao;
import com.lanhai.mind.enums.AgvCurrentTransEnum;

/**
 * 小车数据接口
 * @author zhengwei
 *
 */
public interface IAgv {
	AgvBean getBean(int agvid);
	AgvBean getBeanByDotNo(int dotNo);
	
	AgvDao getDao(int agvid);
	
	void saveCache(int agvid, AgvBean bean);
	
	void updateCurrentTrans(int agvid,AgvCurrentTransEnum trans);
	
	AgvDataBean analyseData(byte[] data);
	
	
	void releaseAgv(AgvBean agv);
}
